def demo(num, num_list):
    print("函数内部的代码")

    # 在函数内部针对参数使用赋值语句
    num = 100  # 100
    num_list = [1, 2, 3]
    print(num)
    print(num_list)  # [1, 2, 3]
    print("函数执行完成")


gl_num = 99

gl_num_list = [4, 5, 6]

demo(gl_num, gl_num_list)

print(gl_num)  # 99
print(gl_num_list)  # [4, 5, 6]
